package com.daiyang.controller;

import com.daiyang.api.ProductApi;
import com.daiyang.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
@RequestMapping("fegin")
@RestController
public class FeginController {
    @Autowired
    private ProductApi productApi;
    @RequestMapping("/o1")
    public String o1(@RequestParam("id") Integer id){
        return productApi.p1(id);
    }

}
